var express = require('express')

var app = express()

const setSwagger = require('./swagger')
setSwagger(app)

// 定义路由
var usersRouter = require('./router/user')
app.use('/users', usersRouter)

app.listen(3000, ()=> {
  console.log('服务启动')
})